package top.whysu.edevice.dto.ezviz.policy;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

/**
 * 授权策略
 *{
 *     "Statement": [
 *         {
 *             "Permission": "Get,Update,Real,Replay",
 *             "Resource": [
 *                 "dev:469631729",
 *                 "cam:544229080:1"
 *             ]
 *         },
 *         {
 *             "Permission": "Get,Real",
 *             "Resource": [
 *                 "dev:470686804"
 *             ]
 *         }
 *     ]
 * }
 */
public class EzvizPolicy {
    /**
     * 授权策略
     */
    @JSONField(name = "Statement")
    List<EzvizStatement> Statement;

    public List<EzvizStatement> getStatement() {
        return Statement;
    }

    public void setStatement(List<EzvizStatement> statement) {
        Statement = statement;
    }
}
